@divider-color: #ddd;

.detail {
  display: flex;
  flex-direction: column;
  // height: 100%;
  // background: @fill-base;
  background-color: transparent;
  margin-bottom: 100px;
  min-height: 1px;
  &::before {
    border: none !important;
  }
  .cardHeader {
    background: @fill-base;
    display: block;
    padding: 15px;
    margin-bottom: 8px;
  }
  &.noPadding {
    padding-bottom: 0;
  }
  :global {
    // .am-card {
    //   background-color: transparent;
    // }
    .am-card-header {
      .am-card-header-content {
        color: @color-text-base;
        display: block;
      }
      .ant-card-head-title {
        padding: 13px 0;
      }
    }
    .ant-card-body {
      flex: 1;
      overflow: auto;
      padding-top: 24px;
    }
    .ant-card-actions > li:not(:last-child) {
      border-right: none;
    }
  }
}
// .headerWrap {
.header {
  display: flex;
  align-items: center;
  position: relative;
  .image {
    margin-right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 100%;
  }
  .title {
    font-size: 17px;
    font-weight: 700;
    line-height: 22px;
    margin-right: 8px;
    flex-shrink: 1;
    max-width: calc(100% - 120px);
    word-break: break-all;
    overflow: hidden;
  }
  .statusTag {
    width: 40px;
    height: 18px;
  }
  .icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    color: #999999;
    font-size: 14px;
    text-align: center;
    border-radius: 18px;
    margin-right: 15px;
    // margin-top: 10px;
    // margin-bottom: 10px;
    &.desc {
      background-color: #e3e3e3;
    }
  }
  .name {
    flex: 1;
    max-width: calc(100% - 51px);
    line-height: 36px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px 15px 10px 0;
    box-sizing: border-box;
    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      background: #efefef;
      width: 100%;
      height: 1px;
      -webkit-transform: scaleY(0.5);
      transform: scaleY(0.5);
      -webkit-transform-origin: 0 0;
      transform-origin: 0 0;
    }
  }
  .statusBox {
    position: absolute;
    right: 0;
  }
}
// }
.processModal {
  :global {
    .ant-modal-body {
      .ant-modal-confirm-title {
        color: @color-text-base;
      }
    }
  }
}

.formDetail {
  background: @fill-base;
  // padding-bottom: 7px;
  margin-bottom: 8px;
  padding-top: 15px;
  .detailTitle {
    padding: 15px 0 7px 0;
    display: block;
    font-size: 14px;
    color: @color-text-base;
    font-weight: bold;
  }
  :global {
    .column-wrap {
      padding: 0 15px;
      box-sizing: border-box;
    }
    .customFormItemLabel,
    .column-wrap.column-in-detail .column-prefix {
      width: 108px;
    }
    .column-wrap.column-in-detail .column-prefix {
      padding-right: 15px;
      margin-right: 7px;
      box-sizing: border-box;
    }
    .customFormItem {
      border-bottom: none;
    }
  }
}

.promptText {
  border-radius: 5px;
  font-size: 12px;
  color: @color-text-base;
  background-color: rgba(217, 49, 40, 0.1);
  padding: 8px 10px;
  margin-bottom: 15px;
  position: relative;
  .warnIcon {
    height: 12px;
    color: #ff4040;
    vertical-align: top;
  }
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #d93129;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 200%;
    height: 200%;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: left top;
    transform-origin: left top;
  }
}

.actionBtn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  font-size: 17px;
  background: @fill-base;
  box-sizing: border-box;
  padding-top: 13px;
  display: flex;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    background: @border-color-base;
    width: 100%;
    height: 1px;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  .btn {
    flex: 1;
    text-align: center;
    height: 25px;
    color: @color-text-base;
    font-size: 16px;
    font-weight: bold;
    border-left: 1px solid @border-color-base;
    &:nth-child(1) {
      border-left: none;
    }
    .btnIcon {
      width: 20px;
      height: 20px;
      vertical-align: text-bottom;
      margin-right: 8px;
      color: #484848;
    }
    .btnText {
      color: @color-text-base;
    }
    :global {
      .am-icon {
        width: 20px;
        height: 20px;
        vertical-align: text-bottom;
        margin-right: 8px;
      }
    }
  }
}
.applyFormProcess {
  margin-bottom: 80px;
}

.viewPdfStamp {
  background-color: #fff;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
}
